import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim_items
from util import *

class Greaves(sim_items.Armor):
    def __init__(self):
        bonuses = {
                'evMod': -1,
                'pvMod': 2,
        }

        # TODO: depth, materials, etc.
        sim_items.Armor.__init__(self, 
                'pair of greaves',    # name
                parole.map.AsciiTile('[', colors['Sienna']), # appearance
                2,          # weight (lbs)
                ['legs'],   # slot
                5500,       # energy to wear
                bonuses,
                unidDescription="Like their smaller cousins, the half-greaves, "
                "these protective coverings guard the legs, extending all the "
                "way up to the thigh. They afford superior defense at the cost "
                "of mobility.")

#========================================
thingClass = Greaves


